<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>拉萨市财政局投资评审管理系统  </title>
    <link rel="stylesheet" href="css/style.css">
    <script crossorigin="anonymous" integrity="sha384-TlQc6091kl7Au04dPgLW7WK3iey+qO8dAi/LdwxaGBbszLxnizZ4xjPyNrEf+aQt" src="https://lib.baomitu.com/jquery/2.2.4/jquery.js"></script>

    <script src='js/auth.js'></script>
</head>
<body>
<!--main-header start-->
<div class="main-header">
    <div class="w-1200 clearfix">
        <div class="header-logo fl"><a href=""><img src="images/logo.png"></a> </div>
        <!--header-person start-->
         
        <div id="head_login"></div>
    <script type="text/javascript">
      
      $("#head_login").load("login_common.html");
    </script>
        <!--header-person end-->
        <!--header-nav start-->
        <div class="header-nav fr">
            <ul class="nav">
                <li><a href="/jgindex.html">项目列表</a> </li>
                <li><a href="/additem.html">新增项目</a> </li>
                <span id="art"></span>
                <script>$("#art").load("artcommon.html")</script>
            </ul>
        </div>
        <!--header-nav end-->
    </div>
</div>
<!--main-header end-->
<!--scan-container start-->
<div class="scan-container w-1200" id="mainbox">
    <!--scan-step start-->
    <div class="scan-step clearfix">
        <div class="scan-step-hd fl">项目进度</div>
        <div class="scan-step-bd">
            <div class="step-num">
                <span class="circle">1</span>
                <p>资料准备</p>
            </div>
            <div class="step-num">
                <span class="circle">2</span>
                <p>预审中</p>
            </div>
            <div class="step-num">
                <span class="circle">3</span>
                <p>评审中</p>
            </div>
            <div class="step-num">
                <span class="circle">4</span>
                <p>复核中</p>
            </div>
            <div class="step-num">
                <span class="circle">5</span>
                <p>定审中</p>
            </div>
            <div class="step-num">
                <span class="circle">6</span>
                <p>完结</p>
            </div>
        </div>
    </div>
    <!--scan-step end-->
    <!--scan-main start-->
    <div class="scan-main">

        <script>$(".scan-main").load("common-iteminfo.html")</script>
        <!--scan-box end-->
        <!--scan-box start-->
        <div class="scan-box" id="filebox">
           <script>
               $("#filebox").load("filedetail.html");
           </script>
        </div>
        <!--scan-box end-->
       <div id="reject"></div>


    </div>
    <!--scan-main end-->
</div>
<!--scan-container end-->

<script type="text/javascript">
    
var id=getQueryString("id");
console.log(id);
$.get(HTTP_HOST+"api/Index/getdetail?id="+id,function(res){

        if (res.code == 200) {
            item = res.result.item;
            var index = getstat(item.status);
            $(".step-num").each(function(k,obj){
                if(k<=index){
                    $(obj).addClass("on");
                }  
            });
              
       if(item.status == -1){
           $("#mainbox").append(`<div class="scan-box-bot">
            <a class="scan-box-bot-a" href=`+"/additem.html?id="+item.id+`>修改</a>
        </div>
`);
       }
              

       filllogs(res.result.logs);
    }

},

'JSON');



</script>



</body>
</html>
